package com.iotp.dao.tourist;

import com.iotp.entity.tourist.Tourist;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TouristMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Tourist record);

    int insertSelective(Tourist record);

    Tourist selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tourist record);

    int updateByPrimaryKey(Tourist record);

    List<Tourist> selectByCondition(Tourist tourist);
}